package com.example.service;

import java.util.List;

import com.example.model.Actor;
import com.example.model.query.ActorExample;
import com.example.service.ActorService;

/**
 * Created on 2017/12/26 18:50
 */
public interface ActorService {


    Actor selectByPrimaryKey(Short id);

    List<Actor> selectByExample(ActorExample q);


    Object insert(Actor t);

	Object insertSelective(Actor t);


    Object updateByPrimaryKey(Actor t);

	Object updateByPrimaryKeySelective(Actor t);

	Object updateByExample(Actor t, ActorExample q);

	Object updateByExampleSelective(Actor t, ActorExample q);

	Long countByExample(ActorExample q);


    Integer deleteByPrimaryKey(Short id);

	Integer deleteByExample(ActorExample q);

}
